package com.mdd.common.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
@ApiModel("商户实体")
public class Business implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value = "主键ID")
    private Integer id;

    @ApiModelProperty(value = "门头照")
    private String logoUrl;

    @ApiModelProperty(value = "营业执照")
    private String licenseUrl;

    @ApiModelProperty(value = "名称")
    private String businessName;

    @ApiModelProperty(value = "联系人")
    private String contact;

    @ApiModelProperty(value = "联系电话")
    private String mobile;

    @ApiModelProperty(value = "省")
    private Integer provinceId;

    @ApiModelProperty(value = "市")
    private Integer cityId;

    @ApiModelProperty(value = "区")
    private Integer districtId;

    @ApiModelProperty(value = "详细地址")
    private String address;

    @ApiModelProperty(value = "经度")
    private BigDecimal longitude;

    @ApiModelProperty(value = "纬度")
    private BigDecimal latitude;

    @ApiModelProperty(value = "营业时间")
    private String businessTime;

    @ApiModelProperty(value = "门店状态:1-启用;0-停用;2-待审核;3-未通过")
    private Integer status;

    @ApiModelProperty(value = "商家介绍")
    private String content;

    @ApiModelProperty(value = "商家公告")
    private String businessNotice;

    @ApiModelProperty(value = "管理员id")
    private Integer userId;

    @ApiModelProperty(value = "是否删除: 0=否, 1=是")
    private Integer isDelete;

    @ApiModelProperty(value = "浏览量")
    private Integer visit;

    @ApiModelProperty(value = "创建时间")
    private Long createTime;

    @ApiModelProperty(value = "更新时间")
    private Long updateTime;

    @ApiModelProperty(value = "删除时间")
    private Long deleteTime;

    @ApiModelProperty(value = "门牌号")
    private String info;

    @ApiModelProperty(value = "微信号")
    private String wechat;

    @ApiModelProperty(value = "微信二维码")
    private String wechatUrl;

    @ApiModelProperty(value = "过期时间")
    private Date expireDate;

    @ApiModelProperty(value = "商家简介")
    private String businessDesc;

    @ApiModelProperty(value = "小程序码")
    private String miniUrl;

}
